(function(clazz,id,callback){
	var tbar = [];
	tbar.push({
		 text:"添加",
		 dat :clazz,
		 pid :id,
		 dcallback:callback,
		 handler:function(){
			Post("models/newModel");
			if(callback!=null){
				//回调
				eval(callback)(clazz, id);
			}
			 // _("model.add.panel")(this.dat,this.pid,this.dcallback);
		 }
	}); 
	/*tbar.push({
		 text:"删除",
		 dat :clazz,
		 pid :id,
		 dcallback:callback,
		 handler:function(){
			 //_("entity.delete.panel")(this.dat,this.pid,this.dcallback);
		 }
	});*/
	return tbar;
})